import service from '@/api'

// 获取用户列表
export function getUser(params) {
  return service({
    url:'/app/users',
    method:'GET',
    params
  })
}

export function addUser(params){
  return service({
    url:'/app/addUser',
    method:'POST',
    params
  })
}

export function editUser(params) {
  return service({
    url:'/app/editUser',
    method:'POST',
    params
  })
}

export function delUser(params) {
  return service({
    url:'/app/delUser',
    method:'POST',
    params
  })
}